package com.wang.vagus.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.sql.Timestamp;


@Entity
@Table(name = "vag_user")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class User {

    @Id
    private long id;

    private String name;

    private String phone;

    private String password;

    private String email;

    private Timestamp createTime;

    private Timestamp updateTime;

}
